<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			div{
				background-color: #FFFF00;
				color: #000000;
				width: 300px;
				transition: background-color 1s linear,color 1s linear,width 1s linear;
			}
			div:hover{
				background-color: #003366;
				color: #FFFFFF;
				width: 400px;
			}
		</style>
	</head>
	<body>
		<div>示例文字</div>
	</body>
</html>
